class AppVersion {
  String? msg;
  num? code;
  Data? data;

  AppVersion({this.msg, this.code, this.data});

  AppVersion.fromJson(Map<String, dynamic> json) {
    msg = json['msg'];
    code = json['code'];
    data = json['data'] != null ? new Data.fromJson(json['data']) : null;
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['msg'] = this.msg;
    data['code'] = this.code;
    if (this.data != null) {
      data['data'] = this.data!.toJson();
    }
    return data;
  }
}

class Data {
  dynamic searchValue;
  String? createBy;
  String? createTime;
  String? updateBy;
  dynamic updateTime;
  String? remark;
  Params? params;
  num? id;
  String? appVersion;
  String? updateMsg;
  String? delFlag;
  num? version;
  bool? isForcedUpdate;

  Data(
      {this.searchValue,
      this.createBy,
      this.createTime,
      this.updateBy,
      this.updateTime,
      this.remark,
      this.params,
      this.id,
      this.appVersion,
      this.updateMsg,
      this.delFlag,
      this.version,
      this.isForcedUpdate
      });

  Data.fromJson(Map<String, dynamic> json) {
    searchValue = json['searchValue'];
    createBy = json['createBy'];
    createTime = json['createTime'];
    updateBy = json['updateBy'];
    updateTime = json['updateTime'];
    remark = json['remark'];
    params =
        json['params'] != null ? Params.fromJson(json['params']) : null;
    id = json['id'];
    appVersion = json['appVersion'];
    updateMsg = json['updateMsg'];
    delFlag = json['delFlag'];
    version = json['version'];
    isForcedUpdate = json['isForcedUpdate'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data['searchValue'] = searchValue;
    data['createBy'] = createBy;
    data['createTime'] = this.createTime;
    data['updateBy'] = this.updateBy;
    data['updateTime'] = this.updateTime;
    data['remark'] = this.remark;
    if (this.params != null) {
      data['params'] = this.params!.toJson();
    }
    data['id'] = this.id;
    data['appVersion'] = this.appVersion;
    data['updateMsg'] = this.updateMsg;
    data['delFlag'] = this.delFlag;
    data['version'] = this.version;
    data['isForcedUpdate'] = this.isForcedUpdate;
    return data;
  }
}

class Params {
  Params();

  Params.fromJson(Map<String, dynamic> json) {}

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    return data;
  }
}
